extends Node2D

var is_achieved : bool = false

func conditionChecker() -> bool:
	return Util.All([
		!get_node("%Achievement").is_achieved("Ending1"),
		Global.G_phase == Global.Phase.Day,
		Global.G_score > 7500
	])

func callback() -> void:
	$"/root/Game/Mechanics".switch_day_and_night()
	is_achieved = false
	 
